using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace Outpatient.Doman.Hospitalization
{
    /// <summary>
    /// 病房类型表
    /// </summary>
    [Table("RoomType")]
    public class RoomType
    {
        /// <summary>
        /// 病房类型唯一标识,主键,自增
        /// </summary>
        [Key]
        [DatabaseGenerated(DatabaseGeneratedOption.Identity)]
        public int RoomTypeId { get; set; }

        /// <summary>
        /// 病房类型的名称,如"单人间"、"双人间"、"重症监护室"等
        /// </summary>
        [Required]
        [StringLength(50)]
        public string RoomTypeName { get; set; } = string.Empty;

        /// <summary>
        /// 逻辑删除、默认0未删除 1已删除
        /// </summary>
        public bool IsDelete { get; set; } = false;
    }
} 